<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"><title>仓储系统--物料超期规则</title>
    <!--    <style></style>-->
    <link rel="stylesheet" href="css/base.css">
</head>
<body>
<div class="all">
    <div class="top">
        <div class="logo">仓储系统</div>
        <div class="other">
            <div class="notice_icon"><span>5</span>
                <img src="images/notice.png" width="24" style="margin-top:2px;" />
            </div>
            <div class="user_info"><img width="30" src="images/touxiang.png" />
            </div>
        </div>
    </div>
    <div class="cnt">

        <script src="js/nav.js"></script>
        <script>
            setColor(8)
        </script>


        <div class="main">
            <div class="main_top">
                <h3>物料超期规则</h3>
                <div class="search">
                    <input id="stitle" placeholder="超期类型/超期时间规则" />
                    <img id="search_btn"
                         onclick="search()"
                         width="16" src="images/search.png" />
                </div>
                <div class="btn" id="add_btn" onclick="add()">新增超期</div>
                <div class="btn" id="save_btn" style="display:none" onclick="save()">保存</div>
                <div class="btn" id="updsave_btn" style="display:none" onclick="updsave()">编辑保存</div>
                <div class="btn" id="return_btn" style="display:none" onclick="returnMain()">返回</div>

            </div>
            <div id="loading" style="text-align: center;height:300px;line-height: 300px">
                <!--        <img src="wait.jpg" />-->
            </div>
            <div id="list_div">
            </div>

            <div id="page_div" >
                <div class="page_btn">首页</div>
                <div class="page_btn" onclick="prev_page()">上一页</div>
                <div class="page_btn"><span id="current_page"></span>/<span id="total_page"></span></div>
                <div class="page_btn" onclick="next_page()">下一页</div>
                <div class="page_btn">尾页</div>
                <div class="page_btn"><input id="input_page" /></div>
                <div class="page_btn" onclick="to_page()">跳转</div>
            </div>


            <div id="add_div" style="display:none;">
                <div class="input_div">超期类型：
                    <select id="type1" onclick="select_type1(type1.value)">
                        <option>请选择超期类型</option>
                        <option>无</option>
                        <option>轻度超期</option>
                        <option>中度超期</option>
                        <option>严重超期</option>
                    </select>
                </div>
                <div class="input_div">超期时间规则：
                    <select id="type2"></select>
                </div>
            </div>


            <div id="upd_div" style="display:none;">
                <div class="input_div">超期类型：
                    <select id="type3" onclick="select_type3(type3.value)">
                        <option>请选择超期类型</option>
                        <option>无</option>
                        <option>轻度超期</option>
                        <option>中度超期</option>
                        <option>严重超期</option>
                    </select>
                </div>
                <div class="input_div">超期时间规则：
                    <select id="type4"></select>
                </div>
            </div>


        </div>
    </div>
    <div class="bot">
        Copyright © 2022-2023 XINLING. All Rights Reserved.
    </div>
</div>
<script src="js/base.js"></script>
<script src="js/chaoqi.js"></script>
</body>
</html>